CVE-2022-46688
Jenkins Sonar Gerrit Plugin CSRF Granting Unauthorized Credentials Access
Description
A cross-site request forgery (CSRF) vulnerability in Jenkins Sonar Gerrit Plugin 377.v8f3808963dc5 and earlier allows attackers to have Jenkins connect to Gerrit servers (previously configured by Jenkins administrators) using attacker-specified credentials IDs obtained through another method, potentially capturing credentials stored in Jenkins.
INFO
Published Date :
Dec. 12, 2022, 9:15 a.m.
Last Modified :
April 23, 2025, 4:15 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | 
Solution
- Update Jenkins plugins to the following versions: - Checkmarx Plugin to version 2022.4.3 - Custom Build Properties Plugin to version 2.82.v16d5b_d3590c7 - Gitea Plugin to version 1.4.5 - Google Login Plugin to version 1.7 - Plot Plugin to version 2.1.12 - Sonar Gerrit Plugin: See vendor advisory - Spring Config Plugin to version 2.0.1 See vendor advisory for more details.
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2022-46688.
                                        
| URL | Resource | 
|---|---|
| https://www.jenkins.io/security/advisory/2022-12-07/#SECURITY-1002 | Vendor Advisory | 
| https://www.jenkins.io/security/advisory/2022-12-07/#SECURITY-1002 | Vendor Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2022-46688 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2022-46688
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2022-46688 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2022-46688 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0Apr. 23, 2025 Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N Added CWE CWE-352 
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference https://www.jenkins.io/security/advisory/2022-12-07/#SECURITY-1002 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            Initial Analysis by [email protected]Dec. 14, 2022 Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N Changed Reference Type https://www.jenkins.io/security/advisory/2022-12-07/#SECURITY-1002 No Types Assigned https://www.jenkins.io/security/advisory/2022-12-07/#SECURITY-1002 Vendor Advisory Added CWE NIST CWE-352 Added CPE Configuration OR *cpe:2.3:a:jenkins:sonar_gerrit:*:*:*:*:*:jenkins:*:* versions up to (including) 377.v8f3808963dc5 
Vulnerability Scoring Details
Base CVSS Score: 6.5
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.14 }} -0.05%
score
0.34382
percentile
 
                         
                         
                         
                                             
                                            